package com.ss.android.article.base.feature.video;

import org.json.JSONObject;

public class ThirdVideoPartnerData {
    public String androidDownloadUrl;
    public String androidOpenUrl;
    public String belowBannerDownloadImgUrl;
    public String belowBannerOpenImgUrl;
    public String inBannerDownloadImgUrl;
    public String inBannerOpenImgUrl;
    public String packageName;

    public ThirdVideoPartnerData() {

    }

    public void extractFields(JSONObject jo) {
        if(jo != null) {
            this.belowBannerOpenImgUrl = jo.optString("below_banner_open_img_url");
            this.androidOpenUrl = jo.optString("android_open_url");
            this.packageName = jo.optString("package_name");
            this.belowBannerDownloadImgUrl = jo.optString("below_banner_download_img_url");
            this.inBannerDownloadImgUrl = jo.optString("in_banner_download_img_url");
            this.inBannerOpenImgUrl = jo.optString("in_banner_open_img_url");
            this.androidDownloadUrl = jo.optString("android_download_url");
        }
    }
}

